package com.qipay.pay;

import com.qipay.pay.entity.CpPayAlipayWapRequest;
import com.qipay.security.jwt.JWTUser;
import org.springframework.transaction.annotation.Transactional;

import java.util.Map;

public interface AlipayWapService {
    @Transactional
    Map<String, Object> wapPayCreateOrder(CpPayAlipayWapRequest entity,
                           JWTUser loggedUser) throws Exception;

    @Transactional
    Map<String, Object> wapPay(Long orderId) throws Exception;

}
